<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head>
	<title>Recharge Customer</title>
</h:head>
<f:view>
	<body>
		<ui:composition template="../includes/template.xhtml">
			<ui:define name="mainbody">
				<center>

					<h:form>
						<p:spacer height="5" />

						<p:panel header="Recharge Customer" style="min-height: 550px">
							<p:spacer width="10" />

							<center>

								<p:messages id="messages" showDetail="true" autoUpdate="true" />
															
								<table cellpadding="8px">
									<tr>
										<td><h:outputText value="School Name: " /></td>
										<td>
											<!-- 
											<p:autoComplete value="#{rechargeCustomerBean.schoolName}" completeMethod="#{rechargeCustomerBean.complete}" />
											 
											
											 <p:autoComplete value="#{rechargeCustomerBean.school}"
											 	completeMethod="#{rechargeCustomerBean.complete}"
                        						var="p" itemLabel="#{p.name}" itemValue="#{p}"/>
											 -->
										</td>
									</tr>
									<tr>
										<td><h:outputText value="Expiry Date :" /></td>
										<td><p:spacer width="5" /> <p:calendar mode="popup"
												navigator="true" pattern="dd-MM-yyyy" effect="fadeIn"
												showButtonPanel="true"
												value="#{rechargeCustomerBean.expiryDate}" /></td>
									</tr>
									<tr>
										<td></td>
										<td style="text-align: right"><p:commandButton
												id="submit" action="#{rechargeCustomerBean.action}"	
												value="Update" type="submit" /></td>
									</tr>
								</table>
							</center>
						</p:panel>
					</h:form>

				</center>
			</ui:define>
		</ui:composition>
	</body>
</f:view>
</html>
